package com.win.oauth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fyl.domain.BaseModel;
import com.baomidou.mybatisplus.annotation.TableName;
import org.quartz.Trigger;

/**
 * <p>
 *
 * </p>
 *
 * @author fyl
 * @since 2020-09-05
 */
@TableName("sys_task")
public class Task extends BaseModel {

    private static final long serialVersionUID = 1L;

    private String name;

    private String jobGroup;

    private String jobName;

    private String cron;

    private Integer disallowConcurrentExecution;

    private String clazz;

    private String method;

    private Integer dbStatus;

    @TableField(exist = false)
    private Trigger.TriggerState memoryStatus;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJobGroup() {
        return jobGroup;
    }

    public void setJobGroup(String jobGroup) {
        this.jobGroup = jobGroup;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getCron() {
        return cron;
    }

    public void setCron(String cron) {
        this.cron = cron;
    }

    public Integer getDisallowConcurrentExecution() {
        return disallowConcurrentExecution;
    }

    public void setDisallowConcurrentExecution(Integer disallowConcurrentExecution) {
        this.disallowConcurrentExecution = disallowConcurrentExecution;
    }

    public String getClazz() {
        return clazz;
    }

    public void setClazz(String clazz) {
        this.clazz = clazz;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Integer getDbStatus() {
        return dbStatus;
    }

    public void setDbStatus(Integer dbStatus) {
        this.dbStatus = dbStatus;
    }

    public Trigger.TriggerState getMemoryStatus() {
        return memoryStatus;
    }

    public void setMemoryStatus(Trigger.TriggerState memoryStatus) {
        this.memoryStatus = memoryStatus;
    }
}
